package com.zenith.user.po.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 权限DTO
 *
 * @author makejava
 * @since 2025-08-15
 */
@Data
@Schema(name = "PermissionDTO", description = "权限证书DTO")
public class PermissionDTO {

    @Schema(description = "页码")
    private Integer pageNum;

    @Schema(description = "每页数量")
    private Integer pageSize;

    @Schema(description = "权限ID")
    private Long id;
    @Schema(description = "权限名称")
    private String permissionName;
    @Schema(description = "权限描述")
    private String description;
    @Schema(description = "权限路径")
    private String url;
    @Schema(description = "请求方法")
    private String method;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "更新时间")
    private Date updateTime;
    @Schema(description = "是否删除（0-未删除，1-已删除）")
    private Integer deleted;
}